<template>
	<web-view :src="webViewUrl"></web-view>
</template>

<script>
import { defineComponent, ref, onMounted } from 'vue'
export default defineComponent({
	name: 'WebViewPage'
})
</script>
<script setup>
import { onLoad } from '@dcloudio/uni-app'

const webViewUrl = ref('')

onLoad((option) => {
	console.log('webViewPage-Option', option)
	webViewUrl.value = option.url
})
</script>

<style lang="scss" scoped></style>
